﻿using AllServer.Share;
using MagicOnion;
using MagicOnion.Server;

namespace AllService.GrpcService.Account.Service;

public class ProxyGrpcService : ServiceBase<IProxyGrpcService>, IProxyGrpcService
{
    public async UnaryResult<ProxyInfo> GetProxy(int memberId)
    {
        ProxyInfo proxy = new ProxyInfo()
        {
            ProxyId = 2,
            ProxyName = "李四"
        };
        return proxy;
    }

    public async UnaryResult<bool> IsProxy(int memberId)
    {
        return false;
    }
}
